package n14.second;
public class Student {
    private String name;
    private int score;
    private String className;
    public Student(String name, int score, String className) {
        this.name = name;
        this.score = score;
        this.className = className;
    }
    public String getName() {
        return name;
    }
    public int getScore() {
        return score;
    }
    public String getClassName() {
        return className;
    }
    @Override
    public String toString() {
    	return String.format("%s,%s,%d", className, name, score);
    }
}
